﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SampleApp.Domain;

namespace SampleApp.Service
{
    public interface ISysDeptService
    {
        SysDept GetSysDeptByCode(string deptCode);
        void CreateSysDept(SysDept sysDept);
        List<SysDept> GetDeptListFromDatabase();
        List<SysDept> GetSysDeptList();
        void DeleteSysDept(string deptCode);
        void UpdateSysDept(SysDept sysDept);
    }
}
